<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">


<h:head>

	<!-- Optimize for mobile devices -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>  	
	<meta http-equiv="Pragma" content="no-cache" />	
	
	<f:loadBundle var="msg" basename="nls.msg"></f:loadBundle>
</h:head>

<ui:composition template="_templateInterna.xhtml">

	<ui:define name="title">#{msg.denunciasTitle}</ui:define>
	<ui:define name="content">


		<h:form>
			<p:dataTable var="de" value="#{denunciaBean.listaDenuncias}"
				rows="10" paginator="true"
				paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
				rowsPerPageTemplate="5,10,15">
				<p:column headerText="#{msg.denunciasRelator}">
					<h:outputText value="#{de.relator.nome}" />
				</p:column>

				<p:column headerText="#{msg.denunciasSonho}">
					<h:outputText value="#{de.sonho.titulo}" />
				</p:column>

				<p:column headerText="#{msg.denunciasResumo}">
					<h:outputText value="#{de.descricao}" />
				</p:column>

			</p:dataTable>
		</h:form>
	</ui:define>
</ui:composition>

</html>